package com.lanxin.hr.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-07-26
 */
@TableName("zz_jobinfo")
public class ZzJobinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "empid", type = IdType.AUTO)
    private Integer empid;

    /**
     * 参加工作时间
     */
    @TableField("workDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate workDate;

    /**
     * 加入公司时间
     */
    @TableField("joinDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate joinDate;

    /**
     * 调入档案时间
     */
    @TableField("fileDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate fileDate;

    /**
     * 合同开始时间
     */
    @TableField("contractStart")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contractStart;

    /**
     * 合同结束时间
     */
    @TableField("contractEnd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contractEnd;

    /**
     * 担保签订时间
     */
    @TableField("assureDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate assureDate;

    /**
     * 保密协议签订时间
     */
    @TableField("secretDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate secretDate;

    public Integer getEmpid() {
        return empid;
    }

    public void setEmpid(Integer empid) {
        this.empid = empid;
    }
    public LocalDate getWorkDate() {
        return workDate;
    }

    public void setWorkDate(LocalDate workDate) {
        this.workDate = workDate;
    }
    public LocalDate getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(LocalDate joinDate) {
        this.joinDate = joinDate;
    }
    public LocalDate getFileDate() {
        return fileDate;
    }

    public void setFileDate(LocalDate fileDate) {
        this.fileDate = fileDate;
    }
    public LocalDate getContractStart() {
        return contractStart;
    }

    public void setContractStart(LocalDate contractStart) {
        this.contractStart = contractStart;
    }
    public LocalDate getContractEnd() {
        return contractEnd;
    }

    public void setContractEnd(LocalDate contractEnd) {
        this.contractEnd = contractEnd;
    }
    public LocalDate getAssureDate() {
        return assureDate;
    }

    public void setAssureDate(LocalDate assureDate) {
        this.assureDate = assureDate;
    }
    public LocalDate getSecretDate() {
        return secretDate;
    }

    public void setSecretDate(LocalDate secretDate) {
        this.secretDate = secretDate;
    }

    @Override
    public String toString() {
        return "ZzJobinfo{" +
            "empid=" + empid +
            ", workDate=" + workDate +
            ", joinDate=" + joinDate +
            ", fileDate=" + fileDate +
            ", contractStart=" + contractStart +
            ", contractEnd=" + contractEnd +
            ", assureDate=" + assureDate +
            ", secretDate=" + secretDate +
        "}";
    }
}
